/**
 * Created by PVer on 2019-12-16.
 */
import axios from '@/libs/api.request'

export const del = (id) => {
  return axios.request({
    url: 'Complain/del',
    method: 'get',
    params:{id:id}
  })
}
export const get = (id) => {
  return axios.request({
    url: 'Complain/getDetail',
    method: 'get',
    params:{id:id}
  })
}
export const changeStatus = (id,status) => {
  return axios.request({
    url: 'Complain/changeStatus',
    method: 'get',
    params:{id:id,status:status}
  })
}

export const getList = (params) => {
  return axios.request({
    url: 'Complain/getList',
    method: 'get',
    params:params
  })
}
